﻿@model Romantics.Domain.Objects.Contact
@using Romantics
@{
  ViewBag.Title = "Обратная связь";
}
<h1>Обратная связь</h1>

<div id="content">
  @using (Html.BeginForm())
  {
    <div class="form_settings">
      <p>
        <span class="field">Имя</span>
        @Html.TextBoxFor(m => m.Name)
        @Html.ValidationMessageFor(m => m.Name)
      </p>
 
      <p>
        <span class="field">Email</span>
        @Html.TextBoxFor(m => m.Email)
        @Html.ValidationMessageFor(m => m.Email)
      </p>
 
      <p>
        <span class="field">Сайт</span>
        @Html.TextBoxFor(m => m.Website)
        @Html.ValidationMessageFor(m => m.Website)
      </p>
 
      <p>
        <span class="field">Тема</span>
        @Html.TextBoxFor(m => m.Subject)
        @Html.ValidationMessageFor(m => m.Subject)
      </p>
 
      <p>
        <span class="field">Текст</span>
        @Html.TextAreaFor(m => m.Body, new { rows = 10 })
        @Html.ValidationMessageFor(m => m.Body)
      </p>
 
      <p style="padding-top: 15px">
        <span> </span>
        <input class="submit" name="contact_submitted" value="submit" type="submit">
      </p>
    </div>
  }
</div>